<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>菜单列表</title>
</head>
<body>
<div class="navbar">
		<div class="btn-group">
			<a href="#" class="btn" onclick="view('system/menu?view')">查看</a> 
			<a href="#" class="btn" onclick="go('system/menu?add')">新增</a> 
			<a href="#" class="btn" onclick="edit('system/menu?edit')">编辑</a> 
			<a href="#" class="btn" onclick="del('system/menu?delete')">删除</a>
		</div>
	</div>
	<form id="form" action="system/menu?list">
		<div class="row-fluid">
			<table
				class="table table-striped table-bordered table-condensed  table-hover">
				<thead>
					<tr>
						<td style="width: 5px;"><input type="checkbox" name="ids"
							id="ids" onclick="tb_check()" /></td>
						<th>编号</th>
						<th>名称</th>
						<th>路径</th>
						<th>顶部</th>
						<th>父菜单</th>
						<th>状态</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="menu" items="${t}">
						<tr>
							<td><input type="checkbox" name="ids" value="${menu.id}" /></td>
							<td>${menu.id}</td>
							<td>${menu.name}</td>
							<td>${menu.url}</td>
							<td>${menu.top }</td>
							<td>${menu.father.name}</td>
							<td>${menu.status}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>

		<jsp:include page="/pager.jsp"></jsp:include>
	</form>
</body>
</html>